

/**
 * @ClassName: Douyin
 * @Description: TODO
 * @Author: MaykkStar@163.com
 */
public class Douyin {
    public static void main(String[] args) {
        String hello = "Hello", lo = "lo";
        System.out.println(hello == "Hello");
        System.out.println(Other.hello == hello);
        System.out.println(other.Other.hello == hello);
        System.out.println(hello == ("Hel" + "lo"));
        System.out.println(hello == ("Hel" + lo));
        System.out.println(hello == ("Hel" + lo).intern());
        System.out.println("Hel" + lo);
    }
}
class Other { static String hello= "Hello";}